package com.github.prontera.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.prontera.domain.Issue;
import com.github.prontera.persistence.CrudMapper;
import com.github.prontera.persistence.IssueMapper;

/**
 * 问答
 */
@Service
public class IssueService extends CrudServiceImpl<Issue>{

	@Autowired
	private IssueMapper issueMapper;
	
	@Autowired
    public IssueService(CrudMapper<Issue> mapper) {
        super(mapper);
    }
	
	public List<Issue> find2(Issue issue) {
		return issueMapper.find2(issue);
	}

}
